package org.wordml.core.w2003;

import com.microsoft.schemas.office.word._2003.wordml.StringProperty;
import com.microsoft.schemas.office.word._2003.wordml.WordDocument;
import com.microsoft.schemas.office.word._2003.wordml.YesNoType;

public class WordDocumentBuilder {
	private final static StringProperty wordmlSPSchemaProperty = new StringProperty();
	static{
		wordmlSPSchemaProperty.setVal("http://schemas.microsoft.com/office/word/2003/wordml/sp2");
	}

	private final com.microsoft.schemas.office.word._2003.wordml.ObjectFactory wordMLFactory = new com.microsoft.schemas.office.word._2003.wordml.ObjectFactory();
	private final com.microsoft.schemas.office.office.ObjectFactory officeFactory = new com.microsoft.schemas.office.office.ObjectFactory();
	private final com.microsoft.schemas.office.word._2003.auxhint.ObjectFactory wordAuxHintFactory = new com.microsoft.schemas.office.word._2003.auxhint.ObjectFactory();
	private final com.microsoft.schemas.office.word.ObjectFactory officeWordFactory = new com.microsoft.schemas.office.word.ObjectFactory();
	private final com.microsoft.schemas.vml.ObjectFactory vmlFactory = new com.microsoft.schemas.vml.ObjectFactory();
	private final WordDocument wordDoc;
	
	public WordDocumentBuilder() {
		wordDoc = wordMLFactory.createWordDocument();
		wordDoc.setMacrosPresent(YesNoType.NO);
		wordDoc.setOcxPresent(YesNoType.NO);
		wordDoc.setEmbeddedObjPresent(YesNoType.NO);
		wordDoc.setBody(wordMLFactory.createBodyElt());
		wordDoc.getBody().setSectPr(wordMLFactory.createSectPrElt());
		wordDoc.setDocumentProperties(officeFactory.createDocumentProperties());
		wordDoc.setDocPr(wordMLFactory.createDocPrElt());
		wordDoc.setIgnoreElements(wordmlSPSchemaProperty);
	}
	public WordDocumentBuilder setPageSetting(PageSetting setting){
		
		return this;
	}
	public WordDocumentBuilder addParagraph(Paragraph p){
		
		return this;
	}
}
